package com.ytf.core.web.service;

import com.ytf.core.web.pojo.model.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 用户角色关联表 服务类
 * </p>
 *
 * @author YTF
 * @since 2025-05-20
 */
public interface IUserRoleService extends IService<UserRole> {

    Boolean removeByUserId(Long userId);

    List<Long> listRoleIdByUserId(Long userId);

    Boolean removeByUserIdAndRoleId(Long userId, List<Long> roleToRemove);
}
